package edu.usmp.p2.common.action;

import java.util.List;
import com.opensymphony.xwork2.ActionSupport;
import edu.usmp.p2.common.service.CommonService;
import edu.usmp.p2.disfraz.model.Cliente;

public class ListarClienteAction extends ActionSupport {

		private List<Cliente> cliente;
		private CommonService service = new CommonService();
		
		public String execute(){
			String camino="success";
			
			cliente=service.listarClientes();
			return camino;
		}

		public List<Cliente> getCliente() {
			return cliente;
		}
		public void setCliente(List<Cliente> cliente) {
			this.cliente = cliente;
		}
	}

